package lab02.Test25;

/**
 * Created by 唐苗苗 on 2017/12/30.
 */
import java.util.Scanner;

public class Count {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        System.out.println("The first number:");
        float number1 = sc.nextFloat();
        System.out.println("The second number:");
        float number2 = sc.nextFloat();
        if (number2 == 0){
            System.out.println("The result is:" +0);
        }else{
            System.out.println("The result is:" +number1/number2);
        }
    }
}
